package com.example.luckysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * @version 1.0
 * @Author shangjialu
 * @Date 2024/12/8 13:37
 * @注释
 */
@Data
public class UserRegisterParam implements Serializable {

    @NotBlank(message = "姓名不能为空！")
    private String name;

    @NotBlank(message = "邮箱不能为空！")
    private String mail;

    @NotBlank(message = "手机号不能为空！")
    private String phoneNumber;

    private String password;

    @NotBlank(message = "身份信息不能为空！")
    private String identity;
}
